package com.jinbei.service.impl;

import com.jinbei.domain.Dept;
import com.jinbei.mapper.DeptMapper;
import com.jinbei.service.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zflu
 * 部门 service
 * Created by lucky on 2018/8/9.
 */
@Service
public class DeptServiceImpl implements DeptService{

    @Autowired
    private DeptMapper deptMapper;

    /**
     * @author zflu
     * @Description   查询部门列表
     * @date 2018/8/9 13:57
     * @param
     * @return java.util.List<com.jinbei.domain.Dept>
     */
    @Override
    public List<Dept> queryDeptList() throws Exception {
        return deptMapper.queryDeptList();
    }
}
